package com.xebest.web.service;

import com.xebest.web.form.XeVenOrderCreditcardRecordsForm;
import com.xebest.web.model.XeVenOrderCreditCardRecordsEntity;
import com.xebest.web.model.XeVenOrderInfoEntity;
import com.xebest.web.view.XeVenOrderCreditCardRecordsView;

import java.util.List;

/**
 * @desc: pos支付成功回调记录
 * @author: chenjing
 * @createTime: 2017/8/28 16:52
 * @history:
 * @version:v1.0
 */
public interface XeVenOrderCreditcardRecordsService {

    /**
     * @Author:chenjing
     * @Description: 插入记录
     * @Date:16:53 2017/8/28
     * @params: * @param null
     * @return:
     */
    int insertRecords(XeVenOrderCreditCardRecordsEntity recordsEntity, XeVenOrderInfoEntity entity) throws Exception;

    /**
     * @Author:chenjing
     * @Description:根据订单号查询订单信息
     * @Date:17:30 2017/8/28
     * @params: * @param null
     * @return:
     */
    XeVenOrderInfoEntity queryOrderInfo(String orderId);

    /**
     * @Author:chenjing
     * @Description: 查询pos刷卡记录
     * @Date:14:43 2017/10/16
     * @params: * @param null
     * @return:
     */
    List<XeVenOrderCreditCardRecordsView> queryCreditCardRecordsList(XeVenOrderCreditcardRecordsForm form);


}
